/*
 * Classname
 * 
 * Version information
 *
 * Date
 * 
 * Copyright notice
 */
package proyecto2.logica;


public class Estado {
    
    private String ID;
    
    private boolean ES_FINAL;
    
    private boolean ES_INICIAL;  

    public Estado() {
    }
 
    public Estado(String id, boolean f, boolean i) {
        ID = id;
        ES_FINAL = f;
        ES_INICIAL = i;
    }

    public void setID(String id) {
        ID = id;
    }

    public void setES_FINAL(boolean ES_FINAL) {
        this.ES_FINAL = ES_FINAL;
    }

    public void setES_INICIAL(boolean ES_INICIAL) {
        this.ES_INICIAL = ES_INICIAL;
    }
    
    
    public  String getId() {
        return ID;
    }

    public  boolean ES_FINAL() {
        return ES_FINAL;
    }

    public  boolean ES_INICIAL() {
        return ES_INICIAL;
    } 

    @Override
    public String toString() {
        return "\nEstado{" + "ID=" + ID + ", ES_FINAL=" + ES_FINAL + ", ES_INICIAL=" + ES_INICIAL + '}';
        //return "\nEstado{" + "ID=" + ID + '}';
    }

    
    
    
}
